-- GENERATED SPELL FOR [Torn Fin Muckdweller] --


function spell0_2374(pUnit, Event) --@Infected Wound,n/a--
pUnit:FullCastSpellOnTarget(3427,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2374', 30349, 1)
end

function Sorts_2374(pUnit, Event)
local choix_sorts_2374 = math.random(0, 0)
if choix_sorts_2374 == 0 then
pUnit:RegisterEvent('spell0_2374', 1, 1)
end
end

function mob2374_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2374', math.random(1500, 3000), 1)
end

function mob2374_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2374_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2374_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2374, 1, 'mob2374_Action')
RegisterUnitEvent(2374, 2, 'mob2374_Leave')
RegisterUnitEvent(2374, 3, 'mob2374_Kill')
RegisterUnitEvent(2374, 4, 'mob2374_Die')
